package cate.common.table.res.drop.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;

public class DropRow extends ERow {

    @NoteField(value = "配置")
    public String confCode;

    @NoteField(value = "随机抽取次数")
    public int drowNum;

    @Override
    public void parse(XSSFRowWrap xr) {
        super.parse(xr);
        this.id = xr.getInteger("ID", -1);
        this.confCode = xr.getString("配置");
        this.drowNum = xr.getInteger("随机抽取次数", 0);
    }
}
